package top.skihub.pojo;

import java.time.LocalDateTime;

import lombok.Data;

@Data
public class GoodsParent {
    private Integer id; //商品id
    private String goodsImg; //商品图片
    private String goodsName; //商品名称
    private String goodsType; //商品类型
    private Long price; //商品价格

    public GoodsParent(Integer id, String goodsImg, String goodsName, String goodsType, Long price) {
        this.id = id;
        this.goodsImg = goodsImg;
        this.goodsName = goodsName;
        this.goodsType = goodsType;
        this.price = price;
    }

    public GoodsParent() {
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public Long getPrice() {
        return price;
    }


}
